package com.hangzhou.xyj.model.type;

/**
 * Created by yaohuix on 2016/3/15  9:46
 * <p/>
 * 说明：意图枚举
 */
public enum EIntentTagType {
    //默认
    TAG_DEFAULT(0),
    //戏台-名家
    TAG_STAGE_EXPERT(1),
    //戏台-名团
    TAG_STAGE_TEAM(2),
    //点戏台-名家点戏
    TAG_DIAN_DRAMA_EXPERT(3),
    //点戏台-分类点戏
    TAG_DIAN_DRAMA_CATEGORY(4),
    //点戏台-热门点唱
    TAG_DIAN_DRAMA_HOT_SING(5),
    //动态详情
    TAG_DYNAMIC_DETAIL(7),
    //我
    TAG_MINE(8),
    //社群-关注动态
    TAG_COMMUNITY_FOCUS_DYNAMIC(6),
    //社群-曲目动态
    TAG_COMMUNITY_DRAMA_DYNAMIC(9),
    //社群-同城同好
    TAG_COMMUNITY_CITY_INTEREST(10),
    //我的个人信息页面
    TAG_MINE_PERSONAL_INFO(11),
    //个人信息页
    TAG_PERSONAL_INFO(12),
    //我的粉丝，关注进入
    TAG_FANS_FOCUS(13),
    //我的动态
    TAG_MY_ACTIVE(14),
    //我的收藏
    TAG_MY_COLLECTION(15),
    //热点
    TAG_HOT_SPOT(16),
    //用户协议
    TAG_USER_AGREEMENT(17),
    //戏曲播放页
    TAG_DRAMA_PLAY(18),
    //发现-演出
    TAG_FIND_SHOW(19),
    //发现-活动
    TAG_FIND_ACTION(20),
    //新建圈子
    TAG_ADD_GROUP(21),
    //名家作品
    TAG_SINGLIST(22),
    //发现-剧团
    TAG_DRAMA_GROUP(23),
    //播放恢复
    TAG_PLAY_RESTORE(24);

    private int value;

    EIntentTagType(int value) {
        this.value = value;
    }

    public static EIntentTagType valueOf(int value) {
        switch (value) {
            case 1:
                return TAG_STAGE_EXPERT;
            case 2:
                return TAG_STAGE_TEAM;
            case 3:
                return TAG_DIAN_DRAMA_EXPERT;
            case 4:
                return TAG_DIAN_DRAMA_CATEGORY;
            case 5:
                return TAG_DIAN_DRAMA_HOT_SING;
            case 6:
                return TAG_COMMUNITY_FOCUS_DYNAMIC;
            case 7:
                return TAG_DYNAMIC_DETAIL;
            case 8:
                return TAG_MINE;
            case 9:
                return TAG_COMMUNITY_DRAMA_DYNAMIC;
            case 10:
                return TAG_COMMUNITY_CITY_INTEREST;
            case 11:
                return TAG_MINE_PERSONAL_INFO;
            case 12:
                return TAG_PERSONAL_INFO;
            case 13:
                return TAG_FANS_FOCUS;
            case 14:
                return TAG_MY_ACTIVE;
            case 15:
                return TAG_MY_COLLECTION;
            case 16:
                return TAG_HOT_SPOT;
            case 17:
                return TAG_USER_AGREEMENT;
            case 18:
                return TAG_DRAMA_PLAY;
            case 19:
                return TAG_FIND_SHOW;
            case 20:
                return TAG_FIND_ACTION;
            case 21:
                return TAG_ADD_GROUP;
            case 22:
                return TAG_SINGLIST;
            case 23:
                return TAG_DRAMA_GROUP;
            case 24:
                return TAG_PLAY_RESTORE;
            case 0:
            default:
                return TAG_DEFAULT;
        }
    }

    public int getValue() {
        return this.value;
    }
}
